/*
 * Project Name: cms_manager
 * File Name: ClassesEntity.java
 * Copyright: ZKTeco Corporation 2015
 * Description: TODO 请在此处添加对本文件的描述
 * Creator: Administrator
 * Create Date: 2015年3月16日 上午9:03:18
 */
package com.shishuo.cms.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.stereotype.Service;

/**
 * 分类
 * @since 2015年3月16日 上午9:03:18
 */
@Service
public class ClassesEntity implements Serializable
{
	private long id;
	private String name;
	private String type;//种类：文章、视频、图片、下载、单页、外链、产品分类
	private String outUrl;//外链URL
	private String aliasName;//别名
	private long fatherId;//父Id
	private int readCount;//阅读次数
	private String authorName;
	private Date createDate=new Date();
	private Date lastUpdateDate=new Date();
	private int orderNum;//排序
	private int isHeader;//是否在菜单栏显示
	private int isShowOnIndex;//是否在首页显示
	private int isShowRollOnIndexPage;//是否在首页轮动显示
	
	
	public int getIsShowRollOnIndexPage() {
		return isShowRollOnIndexPage;
	}
	public void setIsShowRollOnIndexPage(int isShowRollOnIndexPage) {
		this.isShowRollOnIndexPage = isShowRollOnIndexPage;
	}
	public int getIsHeader() {
		return isHeader;
	}
	public void setIsHeader(int isHeader) {
		this.isHeader = isHeader;
	}
	public int getIsShowOnIndex() {
		return isShowOnIndex;
	}
	public void setIsShowOnIndex(int isShowOnIndex) {
		this.isShowOnIndex = isShowOnIndex;
	}
	/**
	 * @return orderNum
	 */
	public int getOrderNum()
	{
		return orderNum;
	}
	/**
	 * @param orderNum 要设置的 orderNum
	 */
	public void setOrderNum(int orderNum)
	{
		this.orderNum = orderNum;
	}
	/**
	 * @return id
	 */
	public long getId()
	{
		return id;
	}
	/**
	 * @param id 要设置的 id
	 */
	public void setId(long id)
	{
		this.id = id;
	}
	/**
	 * @return name
	 */
	public String getName()
	{
		return name;
	}
	/**
	 * @param name 要设置的 name
	 */
	public void setName(String name)
	{
		this.name = name;
	}
	/**
	 * @return type
	 */
	public String getType()
	{
		return type;
	}
	/**
	 * @param type 要设置的 type
	 */
	public void setType(String type)
	{
		this.type = type;
	}
	/**
	 * @return outUrl
	 */
	public String getOutUrl()
	{
		return outUrl;
	}
	/**
	 * @param outUrl 要设置的 outUrl
	 */
	public void setOutUrl(String outUrl)
	{
		this.outUrl = outUrl;
	}
	/**
	 * @return aliasName
	 */
	public String getAliasName()
	{
		return aliasName;
	}
	/**
	 * @param aliasName 要设置的 aliasName
	 */
	public void setAliasName(String aliasName)
	{
		this.aliasName = aliasName;
	}
	/**
	 * @return fatherId
	 */
	public long getFatherId()
	{
		return fatherId;
	}
	/**
	 * @param fatherId 要设置的 fatherId
	 */
	public void setFatherId(long fatherId)
	{
		this.fatherId = fatherId;
	}
	/**
	 * @return readCount
	 */
	public int getReadCount()
	{
		return readCount;
	}
	/**
	 * @param readCount 要设置的 readCount
	 */
	public void setReadCount(int readCount)
	{
		this.readCount = readCount;
	}
	/**
	 * @return authorName
	 */
	public String getAuthorName()
	{
		return authorName;
	}
	/**
	 * @param authorName 要设置的 authorName
	 */
	public void setAuthorName(String authorName)
	{
		this.authorName = authorName;
	}
	/**
	 * @return createDate
	 */
	public Date getCreateDate()
	{
		return createDate;
	}
	/**
	 * @param createDate 要设置的 createDate
	 */
	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}
	/**
	 * @return lastUpdateDate
	 */
	public Date getLastUpdateDate()
	{
		return lastUpdateDate;
	}
	/**
	 * @param lastUpdateDate 要设置的 lastUpdateDate
	 */
	public void setLastUpdateDate(Date lastUpdateDate)
	{
		this.lastUpdateDate = lastUpdateDate;
	}
	
}
